Skip to content

Instantly share code, notes, and snippets.

@nabilfreeman
nabilfreeman / quora-auth-wall-ublock-origin
Created February 28, 2022 00:29
Stops blur overlay on Quora. Go to: uBlock origin -> Settings -> My Filters -> (paste this in)
! 2022-02-28 https://www.quora.com
www.quora.com##[class*="blocking_wall"]
www.quora.com##*:style(filter: none !important)
www.quora.com##.qu-overflow--hidden:style(overflow:auto!important)

  1. getMenuItemsJson — UNCHANGED
{
  "nodes": [
    {
      "id": "ribeye-id",
      "itemId": "pg-item-ribeye",
      "itemModifierId": "pg-im-ribeye",
@johnsoncodehk
johnsoncodehk / CLAUDE.shareable.md
Last active June 8, 2026 13:47
Working principles for an AI coding agent (Claude Code CLAUDE.md) — decide by correctness not ROI; fix bugs at the architectural root, not the symptom

To adopt: copy the block below into your ~/.claude/CLAUDE.md.

## How to decide what to do

Judge every piece of work by whether it **should** be done — is it correct, is the current state wrong or inconsistent, does it serve the goal — and **never by ROI, cost, effort, or "is it worth it."** Do not label a known-wrong thing "low-value," "marginal," "an edge case," or "not worth it" to justify leaving it unfixed; reasoning by ROI is exactly what keeps work mediocre. ("The reference / competitor also gets it wrong" is a *gap* argument, not a correctness one — it never makes a wrong thing acceptable.)

The only valid reason to stop short of doing the right thing is that it **provably cannot** be done — a demonstrated limit of the model or tools, not an assumed or cost-based one. "Hard," "heavy," "expensive," or "a lot of work" is never a reason to stop; "proven impossible / blocked" is. When unsure which it is, find out — try it, measure it, prove it — before deciding, and never declare a limi
@BrianMartell
BrianMartell / puh_paper_v6.md
Created August 10, 2025 20:48
PUH-BrianMartell paper v6. Updated paper

\documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{graphicx} \usepackage{hyperref}

\title{Photonic Universe Hypothesis (PUH) v6: A Theory of Everything} \author{Brian Martell} \date{August 10, 2025}

@akemin-dayo
akemin-dayo / VMware-Legacy-Windows.md
Last active June 8, 2026 13:43
My own personal documentation for running legacy versions of Windows (notably Vista) under modern versions of VMware.

Audio issues (stuttering, crackling)

Comment out this line from your VMX file: sound.virtualDev = "hdaudio"

If you don't want to do that, change the audio format settings in Windows to "24 bit, 44100 Hz (Studio Quality)" or higher, which greatly improves (※ but does not completely fix) the issue.

See this for more info: https://kb.vmware.com/s/article/2012007


Windows Vista SP2

@retlehs
retlehs / CC.md
Last active June 8, 2026 13:42
Backlinks for any domain via Common Crawl
@dahaha-365
dahaha-365 / lazy_script.js
Last active June 8, 2026 13:42
Clash Verge Rev 全局扩展脚本(懒人脚本配置)
/***
* Clash Verge Rev 全局扩展脚本(懒人配置)/ Mihomo Party 覆写脚本
* URL: https://gist.github.com/dahaha-365/0b8beb613f8d1ee656fe1f21e1a07959
*/
/**
* 整个脚本的总开关,在Mihomo Party使用的话,请保持为true
* true = 启用
* false = 禁用
*/

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@adammyhre
adammyhre / MainToolbarButtons.cs
Created December 28, 2025 13:08
Unity 6.3 Custom Main Toolbar
using UnityEditor;
using UnityEditor.Toolbars;
using UnityEngine;
using UnityEngine.UIElements;
public class MainToolbarButtons {
[MainToolbarElement("Project/Open Project Settings", defaultDockPosition = MainToolbarDockPosition.Middle)]
public static MainToolbarElement ProjectSettingsButton() {
var icon = EditorGUIUtility.IconContent("SettingsIcon").image as Texture2D;
var content = new MainToolbarContent(icon);